QuerySubscriptionServices

The QuerySubscriptionServices web serviceClosed XML- or JSON-based information exchange systems that use the Internet for direct application-to-application interaction. These systems can include programs, objects, messages, or documents. enables an external client system to query a SubscriptionClosed A billing entity that incurs a charge. Examples include a network attached device whose usage you want to measure and charge for, or a monthly software subscription Service and return the additional contract information linked with Subscription Service records.

For example, this service allows a subscriberClosed The end user of a network. to request remaining contract period details for Subscription Contract Services.

QuerySubscriptionServices Request

The QuerySubscriptionServices tag instructs the Subscription Service to query Subscription details. This request contains the following elements:

Element Name

Content Type

Description

Required?

ExternalReference

String69

The client may use this identifier to correlate the request and the response.

Optional

SubscriptionNumber

Integer8

Indicates the unique system generated Subscription Number.

Mandatory

StatusFilter

String

Possible Values

  • ALL
  • ACTIVE

    The element determines whether all Subscription Services are returned or just those which are currently active.

Mandatory

Sample QuerySubscription Services Request
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="http://mdsuk.com/ws/dise3g/services/definition">
<soapenv:Header/>
<soapenv:Body>
<def:QuerySubscriptionServices>
<def:Request>
<!--You may enter the following 3 items in any order-->
<!--Optional:-->
<ExternalReference>abc</ExternalReference>
<SubscriptionNumber>10907447</SubscriptionNumber>
<StatusFilter>ALL</StatusFilter>
</def:Request>
</def:QuerySubscriptionServices>
</soapenv:Body>
</soapenv:Envelope>

QuerySubscriptionServices Response

The QuerySubscriptionServices response is the response to the QuerySubscriptionServices Request. This contains the following elements:

Element Name

Content Type

Description

Required?

ExternalReference

String69

Returned unmodified in the response. The client may use this identifier to correlate the request and the response.

Optional

SubscriptionServices

Container

Contains a list of zero or more Subscription Service elements. See QuerySubscriptionServices Response Container for details.

Mandatory

QueryLimitExceeded

Boolean

Set to True if the maximum number of records that may be returned as defined in the configuration, was exceeded

Mandatory

SubscriptionServices Response Container

The SubscriptionServices response container has the following elements:

Element Name

Content Type

Description

Required?

SubscriptionService

Container

See SubscriptionService response container for details

Optional

SubscriptionService Response Container

The SubscriptionService response container has the following elements:

Element Name

Content Type

Description

Required?

ServiceCode

String6

Unique ID for the Service.

Mandatory

EffectiveDate

Date

YYYY-MM-DD

Mandatory

ExpiryDate

Date

YYYY-MM-DD

Optional

ServiceDescription

String30

A description of the Service linked to the Subscription.

Optional

Price

Decimal (9,2)

Price at which the Service is charged.

Optional

NominalCode

String30

The Nominal Code to which the Subscription Service is charged.

Optional

InvoiceThisService

Boolean

Set to True if the Subscription Service is eligible for invoicing.

Optional

LongDescription

String120

This details a longer descriptive text attributed to the Service (120-characters).

Optional

PackageCode

String6

Unique ID for the Package used to add the Subscription Service.

Optional

PricePeriodCoverage

Container

See PricePeriodCoverage Response Container for details.

Optional

SalesAccountNumber

Integer8

Sales Account Number of the salesperson who introduced the customer to the Service.

Optional

BillingOffset

Integer2

The period by which Service is billed in advance.

Optional

AddingEvent

Integer9

Account Services can be added by Workflow Events. This element contains the ID of the Workflow Event that added this Service.

Optional

NetworkConfirmed

Boolean

Set to True if the Subscription Service request has been confirmed at Network level.

Optional

Migrated

Boolean

Set to True if the Subscription has been migrated between tariffs.

Optional

PerBill

Boolean

Set to True if the Service is charged on each bill.

Set to False for a one-off payment.

Optional

BilledUntil

Date

YYYY-MM-DD

The last date on which the customer was billed for the Service.

Optional

ServiceBarred

Boolean

Set to True if the Service is barred.

Optional

RecurringCharge

Boolean

Set to True if a recurring Service Charge is to be applied to the Account.

Optional

ContractService

Boolean

The value to be retrieved from the Service Code set up.

Optional

ContractDuration

Integer3

The value to be retrieved from the Service Code set up.

Optional

ContractReference

String12

A 12-character reference ID that can be assigned to the service contract.

This field is displayed for Contract Services only.

Optional

SuppressRemaining ContractCharge

Boolean

This is a Yes/No option which is used by Invoice Production to determine whether or not to apply the Contract Expiry Charge to the subscriber as part of generating the invoice.

Optional

PriceConsolidationService

String6

This indicates the name of the Discount Consolidated Service applied to the selected Subscription Service in CMP diseMP Back Office.

Optional

LastAmendedDate

Date

YYYY-MM-DD

Optional

PricePeriodCoverage Response Container

The PricePeriodCoverage response container has the following elements:

Element Name

Content Type

Description

Required?

CoverageType

String

Enumeration:

  • Days
  • Months

Mandatory

CoverageValue

Integer3

The value of the coverage during the selected period.

Mandatory

Sample QuerySubscriptionServices Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns2:QuerySubscriptionServicesResponse xmlns:ns2="http://mdsuk.com/ws/dise3g/services/definition" xmlns:ns3="http://mdsuk.com/ws/dise3g/workflow/definition" xmlns:ns4="http://mdsuk.com/ws/dise3g/fault/exception">
<ns2:Result>
<SubscriptionServices>
<SubscriptionService>
<ServiceCode>FOCIB</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>Free Itemised Billing</ServiceDescription>
<Price>0.00</Price>
<NominalCode>010058.4061</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<BillingOffset>0</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-09-25Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService/>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
<SubscriptionService>
<ServiceCode>JINS11</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>Insurance</ServiceDescription>
<Price>2.50</Price>
<NominalCode>999999.4201</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<PricePeriodCoverage>
<CoverageType>MONTHS</CoverageType>
<CoverageValue>1</CoverageValue>
</PricePeriodCoverage>
<BillingOffset>1</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-10-24Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService>JINS1</PriceConsolidationService>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
<SubscriptionService>
<ServiceCode>JINS2</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>Insurance</ServiceDescription>
<Price>1.50</Price>
<NominalCode>999999.4201</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<PricePeriodCoverage>
<CoverageType>MONTHS</CoverageType>
<CoverageValue>1</CoverageValue>
</PricePeriodCoverage>
<BillingOffset>1</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-10-24Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService>JINS4</PriceConsolidationService>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
<SubscriptionService>
<ServiceCode>JINS3</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>Insurance</ServiceDescription>
<Price>1.99</Price>
<NominalCode>999999.4201</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<PricePeriodCoverage>
<CoverageType>MONTHS</CoverageType>
<CoverageValue>1</CoverageValue>
</PricePeriodCoverage>
<BillingOffset>1</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-10-24Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService>JINS4</PriceConsolidationService>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
<SubscriptionService>
<ServiceCode>JINS5</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>Insurance</ServiceDescription>
<Price>5.07</Price>
<NominalCode>999999.4201</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<PricePeriodCoverage>
<CoverageType>MONTHS</CoverageType>
<CoverageValue>1</CoverageValue>
</PricePeriodCoverage>
<BillingOffset>1</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-10-24Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService>JINS4</PriceConsolidationService>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
<SubscriptionService>
<ServiceCode>JINS6</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>Insurance</ServiceDescription>
<Price>5.15</Price>
<NominalCode>999999.4201</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<PricePeriodCoverage>
<CoverageType>MONTHS</CoverageType>
<CoverageValue>1</CoverageValue>
</PricePeriodCoverage>
<BillingOffset>1</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-10-24Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService>JINS4</PriceConsolidationService>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
<SubscriptionService>
<ServiceCode>LINECH</ServiceCode>
<EffectiveDate>2014-09-25Z</EffectiveDate>
<ExpiryDate>1899-01-01Z</ExpiryDate>
<ServiceDescription>*AMENDED* LINE RENTAL CHARGE</ServiceDescription>
<Price>7.00</Price>
<NominalCode>010058.4051</NominalCode>
<InvoiceThisService>true</InvoiceThisService>
<LongDescription/>
<PackageCode>A&amp;LMBX</PackageCode>
<PricePeriodCoverage>
<CoverageType>MONTHS</CoverageType>
<CoverageValue>1</CoverageValue>
</PricePeriodCoverage>
<BillingOffset>1</BillingOffset>
<AddingEvent>0</AddingEvent>
<NetworkConfirmed>true</NetworkConfirmed>
<Migrated>false</Migrated>
<PerBill>false</PerBill>
<BilledUntil>2014-10-24Z</BilledUntil>
<ServiceBarred>false</ServiceBarred>
<RecurringCharge>true</RecurringCharge>
<ContractService>false</ContractService>
<PriceConsolidationService/>
<LastAmendedDate>2014-09-25T10:52:22Z</LastAmendedDate>
</SubscriptionService>
</SubscriptionServices>
<QueryLimitExceeded>false</QueryLimitExceeded>
</ns2:Result>
</ns2:QuerySubscriptionServicesResponse>
</soapenv:Body>
</soapenv:Envelope>